package com.aop.aspect;

import org.springframework.stereotype.Repository;

/**
 * 静态代理
 * 
 * 
 * @author My
 *
 */
@Repository(value="ym")
public class YmStudentDaoImpl implements StudentDao {

	@Override
	public void act(String name) {
		System.out.println("脚好臭开始拍戏："+name);
		
	}

	@Override
	public void add(int a, int b) {
		int s=a+b;
		System.out.println(s);
		
	}

	
}
